---
import Footer from '../components/Footer.astro'
import BaseLayout from './BaseLayout.astro';
const { frontmatter } = Astro.props
---
<BaseLayout pageTitle={frontmatter.title}>
    <h1>{frontmatter.title}</h1>
    <p>{frontmatter.pubDate.slice(0,10)}</p>
    <p><em>{frontmatter.description}</em></p>
    <p>Written by: {frontmatter.author}</p>
<!--     <img src={frontmatter.image.url} width="300" alt={frontmatter.image.alt} /> -->
    <slot />
  </BaseLayout>
